<?php
defined('ACCESS_ZYG') or exit('access invalid');
class fobAction {
    public function indexop(){
if(isset($_GET['zhyg'])){
    echo $_GET['zhyg'];
}else{
    include_once TEMPLATES_DIR.DS."test.php";
}

    }
    public function __construct(){
        DB::dbInstall();
    }

    /**
     *列表页面，后台一键生成列表页文件，不用读取数据库
     */
    public function flistOp(){
        //T($_SESSION['fd']=132);exit;
        $file_flist_static = CACHE_FDETAIL.DS."flist.html";
        if(is_file($file_flist_static)){
            include_once $file_flist_static;

        }
    }
    public function nlistOp(){
        //T($_SESSION['fd']=132);exit;
        $file_flist_static = CACHE_NEWS.DS."news_list.html";
        if(is_file($file_flist_static)){
            include_once $file_flist_static;

        }
    }
    public function jqalOp(){

        include_once TEMPLATES_DIR.'/type-list.php';
    }


}